package com.etc.service.impl;

import com.etc.dao.DeviceDao;
import com.etc.entity.Device;
import com.etc.service.DeviceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DeviceServiceImpl implements DeviceService{
    @Resource
    private DeviceDao deviceDao;
    @Override
    public int update(Device device) {
        return deviceDao.update(device);
    }
}
